var api = "http://localhost:8086/ysy/"
// var api = "http://a.subaiqiao.com/ysy/"
// var ysyApi = "http://b.subaiqiao.com"
var ysyApi = "http://localhost:8085"
export default {
    ysyApi:ysyApi,
    Login: api+"user-info/RootLogin.do", //登录
    LoginByToken: api+"user-info/LoginByToken.do", //登录

    InsertUser: api+"user-info/InsertUser.do", //添加/修改普通用户
    FindUserPage: api+"user-info/FindUserPage.do", //分页查询所有用户
    FindUserDetail: api+"user-info/FindUserDetail.do", //查询用户详情
    FindUserCount: api+"user-info/FindUserCount.do", //查询所有用户数量
    FindUserDisabledCount: api+"user-info/FindUserDisabledCount.do", //查询已被禁用的用户数量
    FindUserYesterdayRegister: api+"user-info/FindUserYesterdayRegister.do", //查询昨日注册人数
    DeleteUser: api+"user-info/DeleteUser.do", //删除一个用户

    FindProductCategoryPage: api+"product-category/FindProductCategoryPage.do", //分页查询所有商品类型信息
    FindProductCategory: api+"product-category/FindProductCategory.do", //查询所有商品类型信息
    FindProductCategoryParent: api+"product-category/FindProductCategoryParent.do", //查询所有商品父级类型信息
    InsertProductCategory: api+"product-category/InsertProductCategory.do", //添加商品类型信息
    DeleteProductCategory: api+"product-category/DeleteProductCategory.do", //删除商品类型
    FindProductCategoryDetail: api+"product-category/FindProductCategoryDetail.do", //查询商品类型信息详情
    FindProductCategoryCount: api+"product-category/FindProductCategoryCount.do", //查询商品类型总数
    FindProductCategoryParentCount: api+"product-category/FindProductCategoryParentCount.do", //查询父类商品类型总数

    FindSysCategoryPage: api+"sys-category/FindSysCategoryPage.do", //分页查询类型信息
    FindSysCategoryAll: api+"sys-category/FindSysCategoryAll.do", //分页查询类型信息
    FindSysCategoryDetail: api+"sys-category/FindSysCategoryDetail.do", //查询类型详情
    InsertSysCategory: api+"sys-category/InsertSysCategory.do", //添加/修改类型信息
    DeleteSysCategory: api+"sys-category/DeleteSysCategory.do", //删除类型信息
    FindSysCategoryCount: api+"sys-category/FindSysCategoryCount.do", //查询类别总量

    FindVerificationCodePage: api+"verification-code/FindVerificationCodePage.do", //分页查询验证码信息
    FindVerificationCodeDetail: api+"verification-code/FindVerificationCodeDetail.do", //查询验证码详情
    FindVerificationCodeCount: api+"verification-code/FindVerificationCodeCount.do", //查询所有验证码数量
    FindSMSVerificationCodeCount: api+"verification-code/FindSMSVerificationCodeCount.do", //查询所有短信验证码数量
    FindEmailVerificationCodeCount: api+"verification-code/FindEmailVerificationCodeCount.do", //查询所有邮件验证码数量
    FindVerificationYesterdayRegister: api+"verification-code/FindVerificationYesterdayRegister.do", //查询昨日发送验证码总量

    FindArticle: api+"article/FindArticle.do", //查询所有消息
    InsertArticle: api+"article/InsertArticle.do", //添加一条消息
    FindArticleDetails: api+"article/FindArticleDetails.do", //查询消息详情
    DeleteArticle: api+"article/DeleteArticle.do", //查询消息详情
    FindArticleCount: api+"article/FindArticleCount.do", //查询消息总数量
    FindArticleDisableCount: api+"article/FindArticleDisableCount.do", //查询禁用消息总数量
    FindArticleCountYesterdayRegister: api+"article/FindArticleCountYesterdayRegister.do", //查询昨日发布消息总数

    FindFileValuePage: api+"fileValue/FindFileValuePage.do", //查询文件信息
    FindFileValueDetail: api+"fileValue/FindFileValueDetail.do", //查询文件详情
    FindFileValueCount: api+"fileValue/FindFileValueCount.do", //查询文件总数量
    FindFileValueYesterdayRegister: api+"fileValue/FindFileValueYesterdayRegister.do", //查询昨日上传文件总数

    FindProductPage: api+"product/FindProductPage.do", //分页查询商品信息
    FindProductDetails: api+"product/FindProductDetails.do", //查询商品详情
    FillProductTraceSource: ysyApi+"/api/FillProductTraceSource/", //查询商品详情
    InsertProduct: api+"product/InsertProduct.do", //新增商品
    DeleteProduct: api+"product/DeleteProduct.do", //新增商品
    GetProductDetails: api+"product/GetProductDetails.do", //查询商品详情（不增加浏览量）
    FindProductCount: api+"product/FindProductCount.do", //查询所有商品数量
    FindInSellingGoodsCount: api+"product/FindInSellingGoodsCount.do", //查询在售商品数量
    FindShortageOfGoodsCount: api+"product/FindShortageOfGoodsCount.do", //查询缺货商品数量
    FindProductCountYesterdayRegister: api+"product/FindProductCountYesterdayRegister.do", //查询昨日上新商品数量

    FindSysConfigPage: api+"sys-config/FindSysConfigPage.do", //分页查询系统配置
    FindSysConfig: api+"sys-config/FindSysConfig.do", //查询系统配置
    FindSysConfigDetails: api+"sys-config/FindSysConfigDetails.do", //查询系统配置详情
    InsertSysConfig: api+"sys-config/InsertSysConfig.do", //添加系统配置
    UpdateSysConfig: api+"sys-config/UpdateSysConfig.do", //修改系统配置
    DeleteSysConfig: api+"sys-config/DeleteSysConfig.do", //删除系统配置
    FindSysConfigCount: api+"sys-config/FindSysConfigCount.do", //查询系统配置总数
    FindSysConfigNormalCount: api+"sys-config/FindSysConfigNormalCount.do", //查询正常系统配置总数

}